body,#nav{
    background-color: #F6F6F6;
}
#nav .logoimg{
    display: block;
    width: 150px;
    height: 50px;
    background-image: url(../images/cart.webp);
    background-size: 150px 150px;
    background-position: 0px -50px;
}
.cart {
    width: 900px;
    margin: 20px auto;

    /* background-color: #fff; */
  }
  
  table {
    width: 904px;
    text-align: center;
    line-height: 30px;
    font-size: 18px;
    /* border: 1px solid #000; */
    margin-bottom: 30px;
  }
  
  table img{
      width: 85px;
      height: 85px;
      border-radius: 5px;
  }
  table tr td:nth-child(1){
      width: 50px;
  }
  table tr td:nth-child(3){
    display: inline-block;
      font-size: 15px;
      width: 290px;
      text-align: left;
      padding: 0 10px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      line-height: 95px;
  }
  table tr th:nth-child(3){
    width: 290px;
  }
  table tr td:nth-child(4){
    width: 90px;
    text-align: center;
}
table tr td:nth-child(5){
    width: 135px;
}
table tr td:nth-child(6){
    width: 90px;
}

  table th,
  td {
    padding: 5px 0;
    /* border: 1px solid #000; */
  }
  table th{
      background-color: rgb(173, 173, 173);
  }
  
  table input[name='minus'],
  input[name='plus'] {
    width: 30px;
    border: 1px solid #000;
    cursor: pointer;
    background-color: #F6F6F6;

  }
  table input[name='amount'] {
    width: 40px;
    text-align: center;
    border: none;
    background-color: #F6F6F6;

  }
  table a{
      color: rgb(73, 73, 73);
  }
  
  .cart h3 {
    text-align: right;
    padding-right: 40px;
    font-size: 18px;
  }
  .cart h3 span {
    
    color: red;
  }
  
  /* 复选框 */
  table input[name='checkbox-all'],
  input[name='checkbox-item'] {
      /* appearance: none;
      border-radius: 50%; */
      width: 20px;
      height: 20px;
      /* border: 1px solid red; */
      -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
      -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
      box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  table input[name='checkbox-all']:checked,
  input[name='checkbox-item']:checked {
      background: red;
  }